package com.yao.club.entity.request;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;
/**
 * 手续费计算
 */
@Data
@Getter
@Setter
public class OrderPayCostTrialRequest {
    // 订单业务类型(normal-普通订单,point-积分订单)
    private String orderType;

    // 商品列表
    private List<OrderCashDetailRequest.GoodsSkuDTO> goodsSkuDto;

    // -----------------------------订单都有的
    // 加购好物
    private List<OrderCashDetailRequest.GoodsSkuDTO> goodsAddSkuDto;

//    //选择优惠券编码，支持多张
    private List<String> couponCodes = new ArrayList<>();

    private String payWay;//自提支付方式(deposit-定金,full-全款支付)
    private String remark;// 订单备注
    //    private TakeWayDTO takeWayDto;
//    private TakeVehicleWayDTO takeVehicleWayDto;
//    private StoreInstallDTO storeInstallDto;
    private Long addressId;

    private String payChannel;
    //    private String orderCode;
    @Getter
    @Setter
    static class GoodsSkuDTO{
        private Long dataId;
        private String goodsCode;
        private Long goodsId;
        private String goodsSkuCode;
        private Long goodsSkuId;
        private Long hotDataId;
        private Integer num;
        private Integer number;
        private Long resourceId;
        private Long skillId;
    }
}
